package cn.le.bean;

import io.netty.channel.ChannelHandlerContext;

/**
 * 客户端连接对象
 */
public class ConnectBean {

    private Integer uId;
    private ChannelHandlerContext ctx;
    private String channelId;

    private ConnectBean(){}

    public ConnectBean(Integer uId, ChannelHandlerContext ctx, String channelId) {
        this.uId = uId;
        this.ctx = ctx;
        this.channelId = channelId;
    }

    public Integer getuId() {
        return uId;
    }

    public ChannelHandlerContext getCtx() {
        return ctx;
    }

    public String getChannelId() {
        return channelId;
    }
}
